//
//  BlockDefine.h
//  homework
//
//  Created by weiwang on 15/11/16.
//  Copyright © 2015年 zyb. All rights reserved.
//

#ifndef BlockDefine_h
#define BlockDefine_h

typedef void (^completeBlock)(NSError *error, id resultObject);

typedef void (^shareCompleteBlock)(NSError *error, BOOL isSuccess);

typedef void (^DisMissBlock)(void);

typedef void(^completeBlock_t)(BOOL success, NSError *error);
typedef void(^completeDataBlock_t)(BOOL success, id data);
typedef void(^completeSimpleBlock)(void);

typedef NS_ENUM(NSInteger, ZYBNetManagerResultCode ) {
    ZYBNetManagerResultCodeSuccess, //请求结果成功
    ZYBNetManagerResultCodeFail,    //请求结果失败
    ZYBNetManagerResultCodeNotModified,//304
};




#endif /* BlockDefine_h */
